/**
 * 
 */
package com.marchevskiy.illiniScholar.util;

import android.util.Log;

/**
 * @author jandro
 *
 */
public class Logger {
	String TAG = "ILLINI_SCHOLAR_DEBUG";
	String mTag;
	
	/**
	 * 
	 */
	public Logger() {
		this.mTag = TAG;
	}
	
	public Logger(String s) {
		this.mTag = s;
	}
	
	public void log(String s) {
		Log.i(mTag, s);
	}
	
	public void handleException(Exception e) {
		Log.e(mTag, "Got exception - " + e.getMessage());
	}

}
